package io.gitee.zhangbinhub.admin.po

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank

/**
 * @author zhang by 14/06/2019
 * @since JDK 11
 */
@Schema(description = "强制终止流程实例参数")
data class ProcessTerminationPo(
    @Schema(description = "流程实例ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @get:NotBlank(message = "流程实例ID不能为空")
    var processInstanceId: String? = null,

    @Schema(description = "原因", requiredMode = Schema.RequiredMode.REQUIRED)
    @get:NotBlank(message = "原因不能为空")
    var reason: String? = null
)
